using System.Runtime.InteropServices;

namespace MPSizectorDotNet
{
	[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
	public struct MPDeviceInfo
	{
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
		public string DeviceName;

		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
		public string DeviceSerialNumber;

		public uint FWVersion;

		public float MinimumSDKVersion;

		public uint SensorWidth;

		public uint SensorHeight;

		public uint SensorResolution;

		public float XMax;

		public float YMax;

		public float ZMax;

		public bool IsUSB30;
	}
}
